using System;
using System.Collections.Generic;
using System.Text;
using SmartSoft.ADP;

namespace SmartSoft.Controls
{
    public class SDBNull
    {
        private static object _Value;
        public static object Value
        {
            get
            {
                if (AdapterInstance.IsRemoteConnected)
                    return string.Empty;
                else
                    return DBNull.Value;
            }
            set
            {
                _Value = value;
            }
        }
    }
}
